﻿<navigation:Page  x:Class="TotalSystems.Salary.Views.Warrant.WarrantTransmission" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
            d:DesignWidth="2000" d:DesignHeight="800" FlowDirection="RightToLeft"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           Title="حواله صدور کالا از انبار" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:my="clr-namespace:TotalSystems.Core.Controls;assembly=TotalSystems.Core">

    <Grid x:Name="LayoutRoot"  >
        <StackPanel>
            <Canvas Height="45">
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" Name="Btn_WarrantTransmission" ToolTipService.ToolTip="انتقال به سیستم جاری حقوق و دستمزد" Width="35" Content="انتقال به سیستم حقوق و دستمزد" Canvas.Left="12" Canvas.Top="4">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Transmission.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" Name="Btn_DeleteAllSelect" ToolTipService.ToolTip="حذف کلیه انتخاب ها" Width="35" Content="حذف کلیه انتخاب ها" Canvas.Left="88" Canvas.Top="4">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="35" Name="Btn_Help" ToolTipService.ToolTip="راهنمای فرم" Width="35" Canvas.Left="126" Canvas.Top="4">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Help.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Content="انتقال به سیستم معوقه حقوق و دستمزد" Cursor="Hand" FlowDirection="LeftToRight" Height="35" Name="radButton3" ToolTipService.ToolTip="انتقال به سیستم معوقه حقوق و دستمزد" Width="35" Canvas.Left="50" Canvas.Top="4">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Transmission.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
            </Canvas>

            <Canvas Height="75" Background="#FF0C185D">
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="Btn_Add" ToolTipService.ToolTip="ایجاد" Width="25" Canvas.Left="557" Canvas.Top="8">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Accept.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton6" Tag="PleaseCheck" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="263" Canvas.Top="8">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Search.PNG" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton1" Tag="PleaseCheck" ToolTipService.ToolTip="راهنمای فرم" Width="25" Canvas.Left="262" Canvas.Top="41">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Search.PNG" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <telerik:RadButton Cursor="Hand" FlowDirection="LeftToRight" Height="25" Name="radButton2" ToolTipService.ToolTip="ثبت تاریخ پایان حکم" Width="25" Content="ثبت تاریخ پایان حکم" Canvas.Left="585" Canvas.Top="8">
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Document_Edit.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
                <my:LabeledText Canvas.Left="10" Canvas.Top="10" Height="25" LabelText="از پرسنل" LableWidth="75" Name="labeledText1" Width="250" />
                <my:LabeledText Canvas.Left="10" Canvas.Top="41" Height="25" LabelText="تا پرسنل" LableWidth="75" Name="labeledText2" Width="250" />
                <my:LabeledCombo Canvas.Left="302" Canvas.Top="8" Height="25" LabelText="گروه پرسنل" LableWidth="75" Name="labeledCombo1" Width="249" />
            </Canvas>
             <telerik:RadGridView  Name="RGV_Currency" VerticalAlignment="Top" ShowGroupPanel="False"  AutoGenerateColumns="False" IsReadOnly="True" CanUserDeleteRows="False">
            <telerik:RadContextMenu.ContextMenu>
                <telerik:RadContextMenu FlowDirection="RightToLeft" Name="radContextMenu_GridView" >
                    <telerik:RadMenuItem Header="جدید"  Name="radContextMenu_GridView_Add"  >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Add.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Header="ویرایش" Name="radContextMenu_GridView_Edit"  >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Edit.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Header="حذف" Name="radContextMenu_GridView_Delete" >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Delete.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Header="بارگزاری مجدد" Name="radContextMenu_GridView_Reload" >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Refresh.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                </telerik:RadContextMenu>
            </telerik:RadContextMenu.ContextMenu>
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Sd_Temp}" Header="ردیف" UniqueName="STR_Sd_Temp" Width="60"/>
                <telerik:GridViewCheckBoxColumn  Header="انتخاب" UniqueName="STR_Sd_Temp" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Stuff_ID_fk}" Header="کد پرسنلی" UniqueName="STR_Stuff_ID_fk" Width="50"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Stuff_Name}" Header="نام" UniqueName="HRU_ShiftPersonnelKind_fk" Width="100"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Rs_ID}" Header="نام خانوادگی" UniqueName="SAL_Average_Amount" Width="160" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="تاریخ صدور" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="تاریخ اجرا" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="تاریخ پایان" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="جمع کل" UniqueName="SAL_Average_Percent" Width="80"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="حقوق" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="حق جذب" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="سرپرستی" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="سختی کار" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="حق اولاد" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="حق همسر" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="بدی آب و هوا" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Us_ID}" Header="فوق العاده ویژه" UniqueName="SAL_Average_Percent" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding STR_Rs_ID}" Header="وضعیت" UniqueName="SAL_Average_Active" Width="60" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
        <!--<telerik:RadDataPager  Source="{Binding Items, ElementName=RGV_Currency}" PageSize="10" Height="28" Margin="12,383,8,0" Name="RDP_Currency" VerticalAlignment="Top" DisplayMode="FirstLastPreviousNextNumeric" FlowDirection="LeftToRight"/>-->
      
            <Canvas Height="25">
                 <telerik:RadButton Height="22" Width="22"  Name="Btn_RGV_Currency_Add"  Cursor="Hand" ToolTipService.ToolTip="اضافه کردن رکورد جدید"  Canvas.Left="25" Canvas.Top="0">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Add.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Height="22" Width="22"  Name="Btn_RGV_Currency_Edit" Cursor="Hand" ToolTipService.ToolTip="ویرایش کردن رکورد"  Canvas.Left="55" Canvas.Top="0">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Edit.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Height="22" Width="22"  Name="Btn_RGV_Currency_Delete"  Cursor="Hand" ToolTipService.ToolTip="حذف کردن رکورد"  Canvas.Left="83" Canvas.Top="0">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Height="22" Width="22"   Name="Btn_RGV_Currency_Reload"  Cursor="Hand" ToolTipService.ToolTip="بارگزاری مجدد"  Canvas.Left="111" Canvas.Top="0">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Refresh.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Height="22" Width="22"   Name="Btn_RGV_Currency_Export" Cursor="Hand" ToolTipService.ToolTip="گرفتن خروجی از گرید"  Canvas.Left="142" Canvas.Top="0">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Save.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
        <telerik:RadButton Cursor="Hand"  Height="22"  Name="radButton11" ToolTipService.ToolTip="جزئیات رکورد"  Width="22" Canvas.Left="170" Canvas.Top="0">
            <telerik:RadButton.Background>
                <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_CSV.png" />
            </telerik:RadButton.Background>
        </telerik:RadButton>
  
            </Canvas>
        </StackPanel>
          </Grid>
</navigation:Page> 
